package com.qf.utils;


import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.stereotype.Component;

/**
 * @Description: 公用常量
 * @Data: 2022/9/2 22:50
 * @Pacakge: com.qf.utils
 * @ClassName: ProjectPointcut
 * @Author: fan
 */
@Component
@Aspect
@EnableAspectJAutoProxy
public class ProjectPointcut {
    @Pointcut(value = "execution(* com.qf.service.impl.*.*(..))")
    public void pointcut(){

    }
    @Before(value = "pointcut()")
    public void say(){
        System.out.println("正在记录日志");
    }
}
